/*        newest row hilight , 
*    compare time got from hidden field value greatest is the newest submitted!!
*
*/
<!--
//     var newestRow = null;
     /* find the row the blink */
     function newestMark(tabToFind){
          var hideObj = document.getElementsByName(tabToFind); //find hidden filed send from viewCaseTableWrapper
          var srcItem = 0;
          var srcIndex = 0;
          //find the greatest time.
               for(var i=0; i<hideObj.length; i++){
                    var newItem  = parseInt(hideObj(i).value);
                    
                         if(i==0){ 
                              srcItem = parseInt(hideObj(i).value);
                              srcIndex = i;
                              //alert(srcItem + ' vs '+newItem);
                         }
                         if(srcItem<newItem){ 
                              srcItem = newItem;
                              srcIndex = i;
                         }
               }

               //                                           hidden              | span                | td                |  tr   -->
               var targetRow = hideObj(srcIndex).parentNode;//.parentNode.parentNode;
                      targetRow.getElementsByTagName("img")[0].alt='New Recieved!';
                      targetRow.className = 'newItem';
     }
     /* EOF find the row the blink */     

     /* Blink the text under blink text */
//     function blinkIt() {
//           if (!document.all) return;
//           else {
//                  for(i=0;i<newestRow.length;i++){
//                     s=newestRow[i].parentNode;
//                     s.style.visibility=(s.style.visibility=='visible')?'hidden':'visible';
//                         if(s.style.className=='odd')
//                         {
//                              s.style.className=='even';
//                         }else{
//                              s.style.className=='odd';
//                         }
//                  }
//           }
//     }
     /* EOF - Blink the text under blink text */
     
     try{
          newestMark('newrecvtime'); //newrecvtime
     }catch(error){}
     
-->